package com.fsq.service;

import com.fsq.beans.vo.request.EmployeePost;
import com.fsq.beans.vo.request.EmployeePut;
import com.fsq.beans.vo.response.EmployeeRes;
import com.fsq.entity.Employee;

import java.util.List;

/**
 * @author fsq
 * @date 2020/07/27
 */
public interface EmployeeService {

    public List<EmployeeRes> listEmployees();

    public EmployeeRes getById(Integer id);

    public void update(EmployeePut employee);

    public void insert(EmployeePost employee);

    public void delete(Integer id);
}
